package org.github.core;

public interface Const {
    String CACHE_NAME_USER_ROLE = "cache_name_user_role";

    String CACHE_NAME_ROLE_PERMISSION = "cache_name_role_permission";

    int CACHE_TIMEOUT = 30 * 60;

    String LOGIN_TYPE_NAME = "center";

    String CAPTCHA_CODE_KEY = "captcha_codes:";

    int CAPTCHA_EXPIRATION = 2;

    String INNER_LINK = "InnerLink";

    /**
     * Layout组件标识
     */
    String LAYOUT = "Layout";

    /**
     * ParentView组件标识
     */
    String PARENT_VIEW = "ParentView";

    /**
     * www主域
     */
    String WWW = "www.";

    /**
     * http请求
     */
    String HTTP = "http://";

    /**
     * https请求
     */
    String HTTPS = "https://";

    String TOKEN_USER = "user";

    long TREE_ROOT = 0L;

    int SUB_CODE_DEFAULT = 0;

    int Y = 1;

    int N = 0;

    String USER_SYSTEM = "system";

    String USER_ADMIN = "admin";

    String CALLBACK = "callback";

    String MINIO_PUBLIC = "public";

    String SQL_NOT_EXIST = " 1 != 1 ";

    String SQL_AND_NOT_EXIST = " AND 1 != 1 ";

    String CREATED_BY = "createdBy";

    String CREATED_ON = "createdOn";

    String UPDATED_BY = "updatedBy";

    String UPDATED_ON = "updatedOn";
}
